#include<iostream>

int main()
{

    std::string x="111222333";
    std::string y=x.substr(0,3);
    if(y.empty())
    {
        std::cout<<"none"<<std::endl;
        return 1;
    }
    std::cout<<y<<std::endl;


    return 0;
}